package com.itheima.extends1demo;

/**
 * @author jiangxun
 * @date 11-17-2024
 */
public class Test {
    public static void main(String[] args) {
        Teacher teacher = new Teacher();
        teacher.setName("张三");
        teacher.setSkill("Java");
        teacher.setSex('男');
        System.out.println(teacher.getName() + "老师教" + teacher.getSkill());
        System.out.println(teacher.getSex());
    }
}
